package com.easyJava.utils;

public class StringUtils {
    public static String upperFirstChar(String s){
        if(org.apache.commons.lang3.StringUtils.isEmpty(s)) return null;
        char[] charArray = s.toCharArray();
        charArray[0] = Character.toUpperCase(charArray[0]);
        return new String(charArray);
    }

    public static boolean isEmpty(String s){
        return org.apache.commons.lang3.StringUtils.isEmpty(s);
    }

    public static String lowerFirstChar(String s){
        if(org.apache.commons.lang3.StringUtils.isEmpty(s)) return null;
        char[] charArray = s.toCharArray();
        charArray[0] = Character.toLowerCase(charArray[0]);
        return new String(charArray);
    }

}
